package com.sdry.service.impl.lz;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sdry.mapper.lz.DeviceOperateMMapper;
import com.sdry.model.lz.DeviceModel;
import com.sdry.model.zc.ZcEvaluateEntity;
import com.sdry.service.lz.DeviceOperateMService;

/**
 * @ClassName DeviceOperateMServiceImpl
 * @Description 设备运行管理
 * @Author lz
 * @Date 2019年1月9日 11:21:08
 * @Version 1.0
 */
@Service
@Transactional
public class DeviceOperateMServiceImpl implements DeviceOperateMService{

	@Resource
	DeviceOperateMMapper deviceOperateMMapper;
	
	@Override
	public ZcEvaluateEntity queryEvaluateByDeviceNumber(String deviceNumber) {
		return deviceOperateMMapper.queryEvaluateByDeviceNumber(deviceNumber);
	}

	@Override
	public List<DeviceModel> queryAllDeviceStatus() {
		return deviceOperateMMapper.queryAllDeviceStatus();
	}

}
